<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<link href="<%=basePath%>/style/style.css" rel="stylesheet" type="text/css">
<link href="<%=basePath%>/style/global.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="<%=basePath%>/js/global.js"></script>
<jsp:include page="/vailidateInclude.jsp" />

<div class="rightCon" align="center">
	<div class="rightTitle2">
		<h3>
			<s:property value="nav" escape="false" />
		</h3>
	</div>
	<s:form action="saveRole.do" method="post" cssClass="required-validate">
		<table class="formTable">
			<colgroup>
				<col class="formLabel" align="left" width="25%">
				<col align="left" />
			</colgroup>
			<tr>
				<td>
					角色名称：
				</td>
				<td>
					<s:hidden name="role.id" />
					<s:textfield name="role.name" cssClass="required" size="40" />
				</td>
			</tr>
			<tr>
				<td>
					角色代码：
				</td>
				<td>
					<s:textfield name="role.code" cssClass="required" size="40" />
				</td>
			</tr>
			<tr>
				<td>
					排序：
				</td>
				<td>
					<s:textfield name="role.paixu" cssClass="validate-integer" size="40" />
				</td>
			</tr>
			<tr>
				<td>
					角色说明：
				</td>
				<td>
					<s:textarea name="role.note" cols="39" rows="5" />
				</td>
			</tr>
		</table>
		<table class="form_submit_bar">
			<tr>
				<td width="30%" align="center" colspan="4">
					<input class="buttonOk" id="button2" type="submit" value="保存" />
					&nbsp;&nbsp;&nbsp;&nbsp;
					<input class="buttonOk" id="button2" type="reset" value="重置" />
				</td>
			</tr>
		</table>
	</s:form>
</div>